datetime does not work with non-constant pytz.timezone
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 9 Dec 2025 11:19:37 +0000 (11:19 +0000)
committerGraham Inggs <ginggs@debian.org>
Tue, 9 Dec 2025 11:19:37 +0000 (11:19 +0000)
commitcaacbff055457a5e398308b336a8ef63f99f3c0f
treed342a6f254acebbccd1193b49fab72d53abfa960
parente2a3cd98fcb773b32d02f1e1b061f4fd46491dc8
datetime does not work with non-constant pytz.timezone

This has always been the case (and is explicitly warned about
in the pytz documentation), but became a test fail when
tzdata 2024b changed 'CET' and similar to aliases.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name no_pytz_datetime.patch
pandas/tests/arrays/test_array.py